gtkcolorplaneprivate.h \
gtkcolorscaleprivate.h \
gtkcolorchooserprivate.h \
+ gtkcomboboxprivate.h \
gtkcontainerprivate.h \
gtkcssanimationprivate.h \
gtkcssarrayvalueprivate.h \
#include "gtkwindow.h"
#include "gtktypebuiltins.h"
#include "gtkprivate.h"
+#include "gtkcomboboxprivate.h"
#include <gobject/gvaluecollector.h>
return match;
}
+
+GtkWidget *
+gtk_combo_box_get_popup (GtkComboBox *combo)
+{
+ if (combo->priv->popup_window)
+ return combo->priv->popup_window;
+ else
+ return combo->priv->popup_widget;
+}
--- /dev/null
+/* GTK - The GIMP Toolkit
+ * Copyright (C) 2014 Red Hat, Inc.
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef __GTK_COMBO_BOX_PRIVATE_H__
+#define __GTK_COMBO_BOX_PRIVATE_H__
+
+#include "gtkcombobox.h"
+
+G_BEGIN_DECLS
+
+GtkWidget *gtk_combo_box_get_popup (GtkComboBox *combo_box);
+
+G_END_DECLS
+
+#endif /* __GTK_COMBO_BOX_PRIVATE_H__ */